<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <title>后台页面</title>
    <script src="https://cdn.bootcss.com/jquery/3.2.0/jquery.min.js"></script>
    <link rel="stylesheet" href="../style/base.css">
    <script type="text/javascript" src="../js/paramsTool.js"></script>

</head>
<style>
    .top{width:100%; height:60px; line-height:60px; text-align:center; background:#36a2f9; color:#fff; font-size:18px;}
    .list li{line-height: 30px; font-size: 15px; padding: 0 10px;}
</style>
<script>
    var host = window.location.origin;
    var disOpenid = getCookie('disOpenid');// || 'o4AyEt2gypi_z981XBQzM5in0q_U';
//    var disOpenid = getCookie('disOpenid') || 'o4AyEt2gypi_z981XBQzM5in0q_U';

    if(!disOpenid){
        getDisWxCode();
    }

    if(disOpenid != 'o4AyEt_EpmY83VE17bCOJ-t8MIEg' && disOpenid != 'o4AyEt2gypi_z981XBQzM5in0q_U'){
        location.href = host+'/distribution/view/me.html';
    }
    $(document).ready(function() {
        $('#channel').click(function () {
            var channel = 'popularize';
            channel += prompt("想查看的渠道编号", "");//将输入的内容赋给变量 name ，
            location.href = host + '/view/pop_Admi.html?channel=' + channel;
        });
    });

    function allUser(){
        location.href = host+'/distribution/view/Admi_AllUser.html?disOpenid='+disOpenid;
    }

    function orders(){
            location.href = host+'/distribution/view/Admi_Orders.html?disOpenid='+disOpenid;
    }

    function allCash(){
        location.href = host+'/distribution/view/Admi_AllCash.html?disOpenid='+disOpenid;
    }

</script>
<body>
<div class="top">后台页面</div>
<ul class="list">
    <li onclick="allUser()">获取所有用户</li>
    <li onclick="orders()">所有充值订单</li>
    <li onclick="allCash()">所有提现订单</li>
    <!--<a href="admi_Channel.html"><li>渠道提现管理</li></a>-->
    <!--<li id="channel" style="color: #2b542c">查看渠道信息 : http://tempa.178dn.net/view/pop_Admi.html?channel=popularize</li>-->
</ul>
</body>
</html>